<?php
include '_init_.php';
	$orderManager = Order_Manager::getOrderManager($_REQUEST['id']);
if($orderManager == null)
	exit("Not exist");
if($orderManager->getStatus() != Order_Manager::$STATUS_SAVED)
	exit("Not allowed");
$orderManager->init();
$orderInfo = $orderManager->getInfo();
$log_list = array_key_exists('workflow_log_list',$orderInfo)?$orderInfo['workflow_log_list']:array();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div class="mainf-8">
  <ul>
  <li class="maina-1k">修改記錄查詢</li>

<li class="mainf-1m"><img src="images/line5.gif" width="676" height="7" align="top" /></li>
		<?php foreach($log_list as $tmpData):?>
			        <li class="mainf-1n">
        <p class="mainf-1n2"><?php echo date('Y/m/d H:i:s',strtotime($tmpData['time']));?></p>
         <p><img src="images/line3.gif" width="21" height="12" /></p>
       <p><?php echo  $tmpData['operator'];?> </p></li>
		<?php endforeach;?>

  </ul>

</div>
</body>
</html>
